package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 商品分类编码表
 * </p>
 *
 * @author gsl
 * @since 2020-08-17
 */
@TableName("GOODS_CLASS_CODE")
public class GoodsClassCode extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商品分类编码id
     */
    @TableId("GOODS_CLASS_DBID")
    private String goodsClassDbid;

    /**
     * GCC分类编码
     */
    @TableField("GCC_CLASS_CODE")
    private String gccClassCode;

    /**
     * GCC_分类编码名称
     */
    @TableField("GCC_CLASS_NAME")
    private String gccClassName;

    /**
     * GCC_父级ID
     */
    @TableField("GCC_PARENT_ID")
    private String gccParentId;

    /**
     * GCC_计量单位（leave为3才有，小类）
     */
    @TableField("GCC_UNIT")
    private String gccUnit;

    /**
     * GCC_节点等级（第一级为1）
     */
    @TableField("GCC_CLASS_LEAVE")
    private Integer gccClassLeave;

    /**
     * GCC_父级编码
     */
    @TableField("GCC_PARENT_CODE")
    private String gccParentCode;

    /**
     * GCC_备注
     */
    @TableField("GCC_REMAKE")
    private String gccRemake;

    /**
     * GCC_机构ID
     */
    @TableField("GCC_ORGID")
    private String gccOrgid;

    /**
     * GCC_创建人
     */
    @TableField("GCC_CREATE_USER")
    private String gccCreateUser;

    /**
     * GCC_创建时间
     */
    @TableField("GCC_CREATE_TIME")
    private Date gccCreateTime;

    /**
     * GCC_修改人
     */
    @TableField("GCC_UPDATE_USER")
    private String gccUpdateUser;

    /**
     * GCC_修改时间
     */
    @TableField("GCC_UPDATE_TIME")
    private Date gccUpdateTime;

    public String getGoodsClassDbid() {
        return goodsClassDbid;
    }

    public void setGoodsClassDbid(String goodsClassDbid) {
        this.goodsClassDbid = goodsClassDbid;
    }
    public String getGccClassCode() {
        return gccClassCode;
    }

    public void setGccClassCode(String gccClassCode) {
        this.gccClassCode = gccClassCode;
    }
    public String getGccClassName() {
        return gccClassName;
    }

    public void setGccClassName(String gccClassName) {
        this.gccClassName = gccClassName;
    }
    public String getGccParentId() {
        return gccParentId;
    }

    public void setGccParentId(String gccParentId) {
        this.gccParentId = gccParentId;
    }
    public String getGccUnit() {
        return gccUnit;
    }

    public void setGccUnit(String gccUnit) {
        this.gccUnit = gccUnit;
    }
    public Integer getGccClassLeave() {
        return gccClassLeave;
    }

    public void setGccClassLeave(Integer gccClassLeave) {
        this.gccClassLeave = gccClassLeave;
    }
    public String getGccParentCode() {
        return gccParentCode;
    }

    public void setGccParentCode(String gccParentCode) {
        this.gccParentCode = gccParentCode;
    }
    public String getGccRemake() {
        return gccRemake;
    }

    public void setGccRemake(String gccRemake) {
        this.gccRemake = gccRemake;
    }
    public String getGccOrgid() {
        return gccOrgid;
    }

    public void setGccOrgid(String gccOrgid) {
        this.gccOrgid = gccOrgid;
    }
    public String getGccCreateUser() {
        return gccCreateUser;
    }

    public void setGccCreateUser(String gccCreateUser) {
        this.gccCreateUser = gccCreateUser;
    }
    public Date getGccCreateTime() {
        return gccCreateTime;
    }

    public void setGccCreateTime(Date gccCreateTime) {
        this.gccCreateTime = gccCreateTime;
    }
    public String getGccUpdateUser() {
        return gccUpdateUser;
    }

    public void setGccUpdateUser(String gccUpdateUser) {
        this.gccUpdateUser = gccUpdateUser;
    }
    public Date getGccUpdateTime() {
        return gccUpdateTime;
    }

    public void setGccUpdateTime(Date gccUpdateTime) {
        this.gccUpdateTime = gccUpdateTime;
    }

    @Override
    public String toString() {
        return "GoodsClassCode{" +
            "goodsClassDbid=" + goodsClassDbid +
            ", gccClassCode=" + gccClassCode +
            ", gccClassName=" + gccClassName +
            ", gccParentId=" + gccParentId +
            ", gccUnit=" + gccUnit +
            ", gccClassLeave=" + gccClassLeave +
            ", gccParentCode=" + gccParentCode +
            ", gccRemake=" + gccRemake +
            ", gccOrgid=" + gccOrgid +
            ", gccCreateUser=" + gccCreateUser +
            ", gccCreateTime=" + gccCreateTime +
            ", gccUpdateUser=" + gccUpdateUser +
            ", gccUpdateTime=" + gccUpdateTime +
        "}";
    }
}
